#ifndef SYSLOGIN_H
#define SYSLOGIN_H

#include "cnsMacroGlobal.h"
#include "framework.h"
#include "logindialog.h"
#include "base.pb.h"

class SysLogin : public QObject
{
    Q_OBJECT
public:
    Q_INVOKABLE SysLogin();
    Q_INVOKABLE void f_start(CnsComponentPtr com);
    Q_INVOKABLE void onBtnClicked_b(CnsComponentPtr com, LoginDialogPtr loginView);
    Q_INVOKABLE void f__on_read(CnsComponentPtr com, cgproto::Message& msg);
};

Q_DECLARE_METATYPE(SysLogin*)

#endif // SYSLOGIN_H
